package com.example.eldersystem.operatedata.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;


import java.util.Date;

@Setter
@Getter

public class OldPerson {
    private int id;
    private String userName;
    private String gender;
    private String phone;
    private String idCard;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date birthday;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date checkInDate;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date checkOutDate;
    private String imgsetDir;
    private String profilePhoto;
    private String description;
    private String roomNumber;
    private String firstGuardianName;
    private String firstGuardianRelationship;
    private String firstGuardianPhone;
    private String firstGuardianWechat;
    private String secGuardianName;
    private String secGuardianRelationship;
    private String secGuardianPhone;
    private String secGuardianWechat;
    private String healthState;
}
